package cn.soft863.bike.pojo;

import java.util.Date;

/**
 * Bike的POJO 车辆表
 * 
 * @author 902-B-Book
 */
public class ABike
{
	private int id;
	private int createId;
	private int updateId;
	private int cateId;
	private String name;
	private String password;
	private double price;
	private int repairCount;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;
	
	/* 关联对象 */
	private ACate cate;
	
	

	public ACate getCate()
	{
		return cate;
	}

	public void setCate(ACate cate)
	{
		this.cate = cate;
	}

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getCreateId()
	{
		return createId;
	}

	public void setCreateId(int createId)
	{
		this.createId = createId;
	}

	public int getUpdateId()
	{
		return updateId;
	}

	public void setUpdateId(int updateId)
	{
		this.updateId = updateId;
	}

	public int getCateId()
	{
		return cateId;
	}

	public void setCateId(int cateId)
	{
		this.cateId = cateId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public double getPrice()
	{
		return price;
	}

	public void setPrice(double price)
	{
		this.price = price;
	}

	public int getRepairCount()
	{
		return repairCount;
	}

	public void setRepairCount(int repairCount)
	{
		this.repairCount = repairCount;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getPubTime()
	{
		return pubTime;
	}

	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}

}
